package com.ss.android.newmedia.feedback;

import com.bytedance.retrofit2.Call;
import com.bytedance.retrofit2.http.GET;
import com.bytedance.retrofit2.http.MaxLength;
import com.bytedance.retrofit2.http.Multipart;
import com.bytedance.retrofit2.http.POST;
import com.bytedance.retrofit2.http.PartMap;
import com.bytedance.retrofit2.http.QueryMap;
import com.bytedance.retrofit2.mime.TypedOutput;

import java.util.Map;

public interface IFeedbackApi {
    @GET(a = "/feedback/2/list/")
    Call<String> feedbackList(@MaxLength int arg1, @QueryMap(encoded = true) Map<String, String> arg2);

    @Multipart
    @POST(a = "/feedback/1/post_message/")
    Call<String> postMessage(@MaxLength int arg1, @PartMap Map<String, TypedOutput> arg2);

    @Multipart
    @POST(a = "/2/data/upload_image/")
    Call<String> uploadImage(@MaxLength int arg1, @PartMap Map<String, TypedOutput> arg2);
}

